
//appoint.vue
export interface WarehouseData {
    showPicker: boolean,
    loading: boolean,
    query: {
        khmcid: string,
        spckmc: string
    },
    params: {
        pageNum: number,
        pageSize: number
    },
    list: Array<{
        spckid: string
    }>,
    columns:Array<object>,
    total: number
}

export interface PositionData {
    query: {
        spckid: string,
    }
}

export interface AppintForm {
	rules:any,
    data:{
        dzbz: string,
        dzid: number,
        dzzy10: string,
        dzzy6: string,
        dzzy7: string,
        dzzy8: string,
        iszxf: string,
        iszyl: string,
        khlx: string,
        khmc: string,
        khmcid: string,
        spckid: string,
        spckmc: string,
        szkhmc: string,
        wbdh: string,
        rcrq: string,
        spcwid: string,
        inp: Array<{
            spzs:string,
            wpggA: string,
            spcd: string,
            spjsl: string,
            spjs: number,
            spsl: number,
            spbh: string,
            spgh: string,
            ssrqid: string,
            spcwid: string,
        }>
    }
}

//warehouseIn.vue
export interface SearchData {
    showSpckmc:boolean,
}

export interface Warehouse15Data {
    query:object,
    list: Array<{
        spckid:string,
        spckmc: string,
        active:boolean
    }>
}

export interface WarehouseInData {
    loading:boolean,
    finished:boolean,
    refreshing: boolean,
    query: {
        ckcw: string,
        dzzy6: string,
        jqcz: string,
        pzbh: string,
        pzbh1: string,
        rqid1: string,
        rqid2: string,
        shzt: string,
        spbh: string,
        spckmc: string,
        spckmc1: string,
        spgh: string,
        spkhmc: string,
        spkhmc1: string,
        sptm: string,
        ssrqid: string,
        wbdh: string
    },
    list:Array<{
        dzid: string,
        pzbh: string,
        shztn: number,
        shzt: string,
        spjs: string,
        spsl: string,
        dzzy6: string,
        spckmc: string,
        ssrqid: string,
        rsopmc: string,
        prrq: string
    }>,
    total:number,
    params:{
        pageNum: number,
        pageSize:number
    }
}

//add.vue
//edit.vue
export interface WarehouseInDetailData {
    detail: {
        itbz: string,
        spbh: string,
        spcd: string,
        spcwid: string,
        spgh: string,
        spjs: string,
        spjsl: string,
        spmc: string,
        spsl: string,
        spzs: string,
        ssrqid: string,
        wpggA: string,
        wpggB: string,
        wpggC: string,
        wpggD: string,
        wpggE: string,
        wpggF: string,
        wpggG: string,
        wpggH: string
    }
}

export interface YarnCountData {
    query:object,
    showPicker: boolean,
    listA:Array<object>,
    listB:Array<object>,
    listC:Array<object>,
    listD:Array<object>,
    listE:Array<object>,
    listF:Array<object>,
    columnsA:Array<string>,
    columnsB:Array<string>,
    columnsC:Array<string>,
    columnsD:Array<string>,
    columnsE:Array<string>,
    columnsF:Array<string>,
    list:Array<object>,
    columns:Array<string>,
    select:string,
}

//detail.vue
export interface WarehouseInDetailListData {
    query:{
        dzid: any,
        shztn: any
    },
    list: Array<{
        spzs: string,
        wpggA: string,
        spcd: string,
        spjsl: string,
        spjs: string,
        spsl: string,
        spbh: string,
        spgh: string,
        spckmc: string,
        ssrqid: string,
    }>,
    info: {
        pzbh: string,
        shzt: string,
        dzzy6: string,
        dzzy7: string,
        dzzy8: string,
        dzzy10: string,
        dzbz: string,
        rsopmc: string,
        prrq: string,
        rsopmcp:string,
    }
}